Interface: SHOP - XML Shopper Version 2011.00

This documentation describes the AbaConnect Interface XML Shopper for the SHOP Application.


General Information

General information about the AbaConnect interface.

AbaConnect Interface Information
Application :SHOP
Interface Name :XML Shopper
ID :XML Shopper Definition ( Masterdata )
Version :2011.00
Status:Productive


Displays the possible import and export features for this interface.

Export / Import Modus
Export :XML
Import :XML


Displays additional information for this interface.

Additional Information

                                  Highest field Revision for this interface : 0



Mapping Information

The following displays the Mapping details for this interface.

Mapping Information
Mapping ID :AbaDefault
Mapping Name :Shop shopper
Description :



Example AbaConnect XML Structure

The following is an example of an XML Header structure. This information is also visible in an AbaConnect XML Export file, that has been exported via the Abacus AbaConnect User Interface.

AbaConnect XML Struktur
<?xml version='1.0' encoding='UTF-8'?>
<AbaConnectContainer>
  <TaskCount>1</TaskCount>
  <Task>
    <Parameter>
      <Application>SHOP</Application>
      <Id>XML Shopper Definition</Id>
      <MapId>AbaDefault</MapId>
      <Version>2011.00</Version>
      <!-- Attention : The client number (Mandant) is optional and implies that the data can only be imported into specified client (Mandant) -->
      <!-- The Client Option (Mandant) only has an influence when importing data. It can be configured in the AbaConnect Export Settings. -->
      <!-- By default, the client number (Mandant) is not written to the export file -->
      <Mandant>7777</Mandant>
    </Parameter>
    <Transaction>
      <Shopper mode='SAVE'>
          <!-- The specific data fields for the AbaConnect interface are included here. -->
      </Shopper>
    </Transaction>
  </Task>
</AbaConnectContainer>



Example AbaConnect Command Line

The following includes examples of AbaConnect Command Line. The AbaConnect Command Line is executed with the abaconnectexportconsole.exe and abaconnectimportconsole.exe programmes. The AbaConnect Command Line must be run direct on the Abacus server. More detailed information about AbaConnect Command Line is available on the Abacus Homepage. The following examples serve as starting point for creating a simple command line.

AbaConnect Command Line
Export :
abaconnectexportconsole.exe "/USRuser" "/PWxxx"  "-aSHOP"  "-version2011.00"  "-M7777"  "-acidXML Shopper Definition"  "-mapidAbaDefault"  "-datamodeXML"  "-responseYES"  "-responsefileX:\response.xml"  "-exportfileX:\data.xml"

Import :
abaconnectimportconsole.exe "/USRuser" "/PWxxx"  "-aSHOP"  "-version2011.00"  "-M7777"  "-datamodeXML"  "-responseYES"  "-responsefileX:\response.xml"  "-importfileX:\data.xml"

N.B. : For importing XML data, it is not necessary to specify the Interface ID and Mapping on the Command Line. This information is contained in the XML Import file.



Mapping Structure

The following displays a simplified mapping structure for this interface.
The XML-Element and Parent-Name are always in english. Click on the row to display additional information.

XML Element Name Field Name Parent Name Type Length Mandatory
ShopperShop shopper---Yes
    - DivisionDivisionShopperNumber8Yes
    - AccountnameAcct nameShopperText64No
    - CustAkpNrCustomer contact no.ShopperNumber4No
    - CustInrCustomer address no.ShopperNumber10Yes
    - ShipAkpNrContact of supplier addressShopperNumber4No
    - ShipInrSupplier address no.ShopperNumber10No
    - DebitorNrDebtor no.ShopperNumber12No
    - SidInternal shopper IDShopperText26Yes



Field Information

The following is a detailed description of the fields used in this interface.

Division
XML Element Name:Division
Parent Element:Shopper
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "Division")
                    

Acct name
XML Element Name:Accountname
Parent Element:Shopper
Field Type:Text
Action Type:Import und Export
Field Length:   64Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "Accountname")
                    

Customer contact no.
XML Element Name:CustAkpNr
Parent Element:Shopper
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "CustAkpNr")
                    

Customer address no.
XML Element Name:CustInr
Parent Element:Shopper
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "CustInr")
                    

Contact of supplier address
XML Element Name:ShipAkpNr
Parent Element:Shopper
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "ShipAkpNr")
                    

Supplier address no.
XML Element Name:ShipInr
Parent Element:Shopper
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "ShipInr")
                    

Debtor no.
XML Element Name:DebitorNr
Parent Element:Shopper
Field Type:Nummer
Action Type:Import und Export
Field Length:   12Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "DebitorNr")
                    

Internal shopper ID
XML Element Name:Sid
Parent Element:Shopper
Field Type:Text
Action Type:Import und Export
Field Length:   26Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "Sid")